package com.boot.boot2.command;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * Created by Wuxiang on 2018/5/3
 */
@Component
@Order(value = 1)
public class Command1 implements CommandLineRunner{
    @Override
    public void run(String... args) throws Exception {
        System.out.println("CommandLineRunner order=1");
    }
}
